<table>
    <{foreach from=$app_setting key=key item=item}>
    <tr>
        <th><{$item.title}></th>
        <td><{input params=$item name="setting[{$key}]"}></td>
    </tr>
    <{/foreach}>
</tr>
</table>